Code
Span Demo
Your battery is
100% charged
Your battery is
10% charged
Output